package com.henry.c05.aop;

import org.aspectj.lang.ProceedingJoinPoint;

public class MyAop1 {
    public void before(){
        System.out.println("MyAop1 before()");
    }
    public void after(){
        System.out.println("MyAop1 after()");
    }
    public void around(ProceedingJoinPoint joinPoint) throws Throwable{
        System.out.println("MyAop1 around begin");
        joinPoint.proceed();
        System.out.println("MyAop1 around end");
    }
}
